@if (groupForm) {
  <po-dynamic-form-fields
    #fieldsComponent
    [p-auto-focus]="autoFocus"
    [p-components-size]="componentsSize"
    [p-fields]="fields"
    [p-value]="value"
  >
  </po-dynamic-form-fields>
} @else {
  <form #dynamicForm="ngForm">
    <po-dynamic-form-fields
      #fieldsComponent
      [(p-fields)]="fields"
      [p-auto-focus]="autoFocus"
      [p-disabled-form]="disabledForm"
      [p-components-size]="componentsSize"
      [p-validate]="validate"
      [p-validate-fields]="validateFields"
      [p-validate-on-input]="validateOnInput"
      [p-value]="value"
      (p-object-value)="sendObjectValue($event)"
      (p-form-validate)="validateForm($event)"
    >
    </po-dynamic-form-fields>
  </form>
}
